[PATCH] kopper: Revert "kopper: Explicitly choose zink"
authorYiwei Zhang <zzyiwei@chromium.org>
Sat, 17 May 2025 19:50:28 +0000 (12:50 -0700)
committerTobias Frost <tobi@debian.org>
Fri, 19 Jun 2026 19:20:06 +0000 (21:20 +0200)
commit5392c4d556ad0b22ff734ad67e366065ab63ee66
treedefc82fca6c967a66f4ccdeeb145f4fcc96c6847
parentd843b67d1bc9defb6c38e045e59176213ce6d0d9
[PATCH] kopper: Revert "kopper: Explicitly choose zink"

This reverts commit 854bc2ee05f90e426f318352682144050e402d4b.

Forcing zink explicitly would get zink-on-lvp picked up over llvmpipe
for gbm dri support, which is not intended. Currently, zink_screen's
choose_pdev won't be able to reject it when the driver name is explicit.
So we have to revert the change first to mitigate regressions.

Reported-by: @n3rdopolis @0xnihilo
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13009
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13053
Fixes: 854bc2ee05f ("kopper: Explicitly choose zink")
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35039>
(cherry picked from commit e6481d3f42e0cd735fda38fb3029e6f8abf5a0e6)

Gbp-Pq: Name kopper-Revert-kopper-Explicitly-choose-zink.patch
src/gallium/frontends/dri/kopper.c